package com.cos.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.cos.mapper.AddressMapper;
import org.springframework.stereotype.Service;

import com.cos.entity.AddressEntity;
import com.cos.service.AddressService;


@Service("addressService")
public class AddressServiceImpl extends ServiceImpl<AddressMapper, AddressEntity> implements AddressService {

    @Override
    public boolean save(AddressEntity entity) {
        int i = baseMapper.insertAddress(entity);
        return true;

    }
}